<template>
  <Table 
  :columns="columns" 
  :opration="false"
  url="/user"
  :search="true"
  :add="true"
  :pagination="true">
    <template #name="{row}" >
      <div>{{row["name"]}}</div>
    </template>
  </Table> 
</template>

<script lang="ts" setup>
import { reactive,ref } from "vue";
import Table from "../../components/Table/index.vue"
const columns = ref([
  {name:"用户名",props:"username",width:180,search:true,formLabel:90,require:true,add:true},
  {name:"密码",props:"password",search:false,require:true,add:true},
  {name:"性别",props:"sex",search:false,require:true,add:true},
  {name:'操作',props:'exit',width:200}
])
</script>

<style lang="" scoped>

</style>